package com.ruoyi.project.wx.service;


import com.ruoyi.project.wx.domain.TreatyDO;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author long
 * @email 499626561@qq.com
 * @date 2021-03-01 15:50:04
 */
public interface TreatyService {
	
	TreatyDO get(Integer id);
	
	List<TreatyDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(TreatyDO treaty);
	
	int update(TreatyDO treaty);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

    List<TreatyDO> likeList(Map<String, Object> map);
    int likeListCount(Map<String, Object> map);

    TreatyDO getTreaty(Map<String, Object> params);
}
